fontchooser: Handle families without faces
authorMatthias Clasen <mclasen@redhat.com>
Sun, 20 Sep 2020 14:39:24 +0000 (10:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 20 Sep 2020 14:59:37 +0000 (10:59 -0400)
commit3c62cd90d4cd345058f391b77cc0c08e290ef636
tree8ada74447f961a09c91b79bc3bd3481b9b182abd
parent81793b62d82d06d17f91c05c88f8835cfbff6dc9
fontchooser: Handle families without faces

This might seem useless, but I've met fonts
where pango_font_family_get_face (family, NULL)
return NULL. Handle it without criticals.
gtk/gtkfontchooserwidget.c